package com.bwie.system.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.common.utils.PageUtils;
import com.bwie.common.utils.Query;

import com.bwie.system.dao.XtmessageDao;
import com.bwie.system.entity.XtmessageEntity;
import com.bwie.system.service.XtmessageService;


@Service("xtmessageService")
public class XtmessageServiceImpl extends ServiceImpl<XtmessageDao, XtmessageEntity> implements XtmessageService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<XtmessageEntity> page = this.page(
                new Query<XtmessageEntity>().getPage(params),
                new QueryWrapper<XtmessageEntity>()
        );

        return new PageUtils(page);
    }

}